package com.jiedeng.dao;

import com.jiedeng.model.Zone;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 覃远龙
 * @ClassName: IZoneRepository
 * @Description:
 * @date 2017/6/10 22:13
 */
public interface IZoneRepository extends JpaRepository<Zone, Long> {
    List<Zone> findByParent(long parent);
}
